#!/bin/bash

if [[ $EUID -ne 0 ]]; then
   echo "Must have superuser permissions"
   exit 1
fi

CMD_MGR_LIB=/led/plugins/CommandManager/libCommandManager.so
LED_MGR_LIB=/led/plugins/LedManager/libLedManager.so
SEQ_MGR_LIB=/led/plugins/SequenceManager/libSequenceManager.so
CONFIG_PATH=/led/operational/config/config.ini
EVENT_PATH=/led/operational/config/EventTable.xml

./led --plugin_paths=$CMD_MGR_LIB,$LED_MGR_LIB,$SEQ_MGR_LIB --config_path=$CONFIG_PATH --event_path=$EVENT_PATH
